home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3oraw.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_RAWOUTSETTINGS_H = 1;
- include("real/frio/r3output.js")
-
-
- var R3CLID_RAWOUTPUTSETTINGS = 757;
-
-
-
-
- // Description: Attempts to enable a channel and optionally defines the storage type for it. *
- // If the channel was already enabled, the method only checks the old storage type *
- // and the new given one and selects the more accurate one (if variable storage type
- // supported). * If no storage type is defined, the default storage type as defined by
- // R3CHCA_NormalStorageType * will be used.
- // p1: Integer, storage type to use for the channel (if 0, default or previous value used)
- // p2: String, name of the channel. If NULL, default class defined channel name is used
- // p3: Integer, channel base class id
-
- R3RAWOSETM_ENABLECHANNEL = 757000;
-
- function mR3RAWOSETM_ENABLECHANNEL(p1, p2, p3) {
- DoA3(this.r3obj, 757000, p1, R3TID_INTEGER, 0, p2, R3TID_STRING, 0, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Enables a channel using the parameters from RAWM_ENUMCHANNELS. * Can be used for building
- // the channel list from an existing datatype object.
- // p1: Integer, channel index
- // p2: Integer, channel clid
- // p3: Tag[], tag list. See r3raw.h and R3RAWM_ENUMCHANNELS for more information.
-
- R3RAWOSETM_DTCALLBACKENABLEC = 757001;
-
- function mR3RAWOSETM_DTCALLBACKENABLEC(p1, p2, p3) {
- Do3(this.r3obj, 757001, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: disables a channel enabled by the previous method.
- // p3: String, name of the channel
-
- R3RAWOSETM_DISABLECHANNEL = 757002;
-
- function mR3RAWOSETM_DISABLECHANNEL(p3) {
- DoA(this.r3obj, 757002, p3, R3TID_STRING, 0);
- }
-
- // Description: disables all channels
-
- R3RAWOSETM_DISABLEALLCHANNEL = 757003;
-
- function mR3RAWOSETM_DISABLEALLCHANNEL() {
- DoA(this.r3obj, 757003, 0, R3TID_INTEGER, 0);
- }
-
- // Description: sets the storage type for a channel
- // p1: String, name of the channel
- // p3: Integer, storage type to use for the channel R3TID_BYTE-R3TID_FLOAT, see r3typids.h
-
- R3RAWOSETM_SETCHANNELSTORAGE = 757004;
-
- function mR3RAWOSETM_SETCHANNELSTORAGE(p1, p3) {
- DoA2(this.r3obj, 757004, p1, R3TID_STRING, 0, p3, R3TID_INTEGER, 0);
- }
-
- // Description: clears storage types of all channels. Storage types * of enabled channes must be
- // then redefined before use !
-
- R3RAWOSETM_CLEARSTORAGETYPES = 757005;
-
- function mR3RAWOSETM_CLEARSTORAGETYPES() {
- DoA(this.r3obj, 757005, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Adds all channels of a R3RAYNODE list to the object
- // p3: r3List, a list of R3RAYNODEs (see r3output.h)
-
- R3RAWOSETM_INSERTCHANNELLIST = 757006;
-
- function mR3RAWOSETM_INSERTCHANNELLIST(p3) {
- DoA(this.r3obj, 757006, p3, R3TID_LIST, 0);
- }
-
- // Description: sets the 'normal value' for a channel
- // p1: String, name of the channel
- // p3: Integer, normvalue.
-
- R3RAWOSETM_SETNORMALVALUE = 757007;
-
- function mR3RAWOSETM_SETNORMALVALUE(p1, p3) {
- DoA2(this.r3obj, 757007, p1, R3TID_STRING, 0, p3, R3TID_INTEGER, 0);
- }
-
- // Description: changes a channel name
- // p1: String, old name of the channel
- // p3: String, new name of the channel
-
- R3RAWOSETM_RENAMECHANNEL = 757008;
-
- function mR3RAWOSETM_RENAMECHANNEL(p1, p3) {
- DoA2(this.r3obj, 757008, p1, R3TID_STRING, 0, p3, R3TID_STRING, 0);
- }
-
- // Description: sets the signed/unsigned state for a channel
- // p1: String, name of the channel
- // p3: Boolean, if TRUE channel values are treated as signed units.
-
- R3RAWOSETM_SIGNED = 757009;
-
- function mR3RAWOSETM_SIGNED(p1, p3) {
- DoA2(this.r3obj, 757009, p1, R3TID_STRING, 0, p3, R3TID_BOOLEAN, 0);
- }
-
-
-
-
- R3RAWOSETA_ChannelList = 757500;
- function GetR3RAWOSETA_ChannelList() {
- return R3Get(this.r3obj, R3RAWOSETA_ChannelList, R3TID_LIST, R3TNF_ARRAY);
- }
-
- R3RAWOSETA_ChannelCount = 757501;
- function SetR3RAWOSETA_ChannelCount(value) {
- R3Set(this.r3obj, R3RAWOSETA_ChannelCount, value, R3TID_INTEGER, 0);
- }
-
- function GetR3RAWOSETA_ChannelCount() {
- return R3Get(this.r3obj, R3RAWOSETA_ChannelCount, R3TID_INTEGER, 0);
- }
-
- R3RAWOSETA_Channels = 757502;
- function SetR3RAWOSETA_Channels(value) {
- R3Set(this.r3obj, R3RAWOSETA_Channels, value, R3TID_INTEGER, R3TNF_ARRAY);
- }
-
- function GetR3RAWOSETA_Channels() {
- return R3Get(this.r3obj, R3RAWOSETA_Channels, R3TID_INTEGER, R3TNF_ARRAY);
- }
-
- R3RAWOSETA_ChannelIndices = 757503;
- function GetR3RAWOSETA_ChannelIndices() {
- return R3Get(this.r3obj, R3RAWOSETA_ChannelIndices, R3TID_INTEGER, R3TNF_ARRAY);
- }
-
- R3RAWOSETA_ChannelTypes = 757504;
- function SetR3RAWOSETA_ChannelTypes(value) {
- R3Set(this.r3obj, R3RAWOSETA_ChannelTypes, value, R3TID_INTEGER, R3TNF_ARRAY);
- }
-
- function GetR3RAWOSETA_ChannelTypes() {
- return R3Get(this.r3obj, R3RAWOSETA_ChannelTypes, R3TID_INTEGER, R3TNF_ARRAY);
- }
-
- R3RAWOSETA_ChannelNormValues = 757505;
- function GetR3RAWOSETA_ChannelNormValues() {
- return R3Get(this.r3obj, R3RAWOSETA_ChannelNormValues, R3TID_INTEGER, R3TNF_ARRAY);
- }
-
-
-
- function r3Rawoutputsettings () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_RAWOUTPUTSETTINGS, arguments);
- }
- // Methods
- this.ENABLECHANNEL=mR3RAWOSETM_ENABLECHANNEL;
- this.DTCALLBACKENABLEC=mR3RAWOSETM_DTCALLBACKENABLEC;
- this.DISABLECHANNEL=mR3RAWOSETM_DISABLECHANNEL;
- this.DISABLEALLCHANNEL=mR3RAWOSETM_DISABLEALLCHANNEL;
- this.SETCHANNELSTORAGE=mR3RAWOSETM_SETCHANNELSTORAGE;
- this.CLEARSTORAGETYPES=mR3RAWOSETM_CLEARSTORAGETYPES;
- this.INSERTCHANNELLIST=mR3RAWOSETM_INSERTCHANNELLIST;
- this.SETNORMALVALUE=mR3RAWOSETM_SETNORMALVALUE;
- this.RENAMECHANNEL=mR3RAWOSETM_RENAMECHANNEL;
- this.SIGNED=mR3RAWOSETM_SIGNED;
-
- // Attributes
- this.GetChannelList=GetR3RAWOSETA_ChannelList;
- this.GetChannelCount=GetR3RAWOSETA_ChannelCount;
- this.SetChannelCount=SetR3RAWOSETA_ChannelCount;
- this.GetChannels=GetR3RAWOSETA_Channels;
- this.SetChannels=SetR3RAWOSETA_Channels;
- this.GetChannelIndices=GetR3RAWOSETA_ChannelIndices;
- this.GetChannelTypes=GetR3RAWOSETA_ChannelTypes;
- this.SetChannelTypes=SetR3RAWOSETA_ChannelTypes;
- this.GetChannelNormValues=GetR3RAWOSETA_ChannelNormValues;
- }
-
- r3Rawoutputsettings.prototype=new r3Output;
- // r3oraw.h_H